package com.vf.admin.miaodong.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppMingxiDuihuan;
import com.vf.admin.miaodong.entity.AppMingxiJinbi;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
/**
 * 账单明细-金币
 */
public interface AfterMingxiJinbiService {

    /**
     * 查询列表
     */
    public List<AppMingxiJinbi> findList(Map<String, Object> paraMap, SplitPageBean splitPage);

    public Map<String, Object> findListSum(Map<String, Object> paraMap);

    /**
     * 详情
     */
    public AppMingxiJinbi get(Integer id);

    /**
     * 添加/修改
     */
    public void save(AppMingxiJinbi pojo);

    /**
     * 添加明细
     * @param userid userid
     * @param num 数量
     * @param leixing 类型  1增加  2减少
     * @param beizhu  备注
     */
    public void addMingxi(Integer userid, BigDecimal num, Integer leixing, String beizhu);

    Map<String, Object> findList(String userIds);
}
